home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 684 / 684.xpi / chrome / fireftp.jar / content / welcome.xul < prev   
Extensible Markup Language  |  2007-06-27  |  2KB  |  46 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/global.css"   type="text/css"?>
  4. <?xml-stylesheet href="chrome://fireftp/skin/fireftp.css" type="text/css"?>
  5.  
  6. <!DOCTYPE dialog SYSTEM "chrome://fireftp/locale/fireftp.dtd">
  7. <dialog id             = "welcome"
  8.         title          = "FireFTP"
  9.         width          = "400"
  10.         height         = "200"
  11.         xmlns          = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.         xmlns:html     = "http://www.w3.org/1999/xhtml"
  13.         persist        = "screenX screenY width height"
  14.         onload         = "init(event)"
  15.         buttons        = "accept"
  16.         ondialogaccept = "return true">
  17.  
  18.   <script type="application/x-javascript" src="chrome://fireftp/content/js/etc/common.js"/>
  19.   <script>
  20.     <![CDATA[
  21.       function init(aEvent) {
  22.         document.documentElement.getButton('accept').focus();
  23.         $('message').value = window.arguments[0];
  24.         if (window.arguments[1]) {
  25.           $('message').collapsed     = true;
  26.           $('thegoodbook').collapsed = false;
  27.           $('welcome').setAttribute("title", "The Book of Mozilla, 8:2");
  28.           setTimeout("window.moveTo(window.screen.availWidth / 2 - 525, window.screen.availHeight / 2 - 300);window.resizeTo(1050, 600);",0);
  29.         }
  30.       }
  31.     ]]>
  32.   </script>
  33.  
  34.   <textbox id="message"     flex="1" multiline="true" readonly="true" value=""/>
  35.   <vbox    id="thegoodbook" flex="1" collapsed="true" pack="center" >
  36.     <description class="mozillaquote">
  37.       &mozilla.quote;
  38.     </description>
  39.     <spacer style="height:15px"/>
  40.     <description class="mozillafrom">
  41.       &mozilla.from;
  42.     </description>
  43.   </vbox>
  44.  
  45. </dialog>
  46.